<div class="right-panel">
    <!--cont-top Start-->
    <div class="cont-top">
        <div class="left-cr"></div>
        <div class="right-cr"></div>
    </div>
    <!--cont-top End-->
    <!---left-nav Sart-->
    <div class="right-nav">
        <?php
        //pr($serviceUnitList);
        ?>
        <h2><?php echo __('SERVICE_UNIT_LIST'); ?>
            <span class="back-align">
                <?php echo $this->html->link('<< ' . __('BACK', true), array('controller' => 'users', 'action' => 'staffmain'), array('div' => false, 'alt' => '<< ' . __('BACK', true), 'title' => '<< ' . __('BACK', true), 'class' => 'back-nav', 'escape' => false)); ?>
            </span>
        </h2>
        
        <div class="content-outer">
        <div class="top-btns">
            <?php echo $this->Form->create(array('controller' => 'users', 'action' => 'change_unit_permission'));?>
            <table width="100%" cellpadding="2" cellspacing="2" border="0">
                <tr>
                    <td width="12%" align="right"><b><?php echo __('SERVICE_UNIT');?>:<b></td>
                    <td  align="left">
                        <?php echo $this->Form->input('User.search_criteria', array('maxlength'=>'100','class'=>'text-input normal-wdh required','label'=>false,'div'=>false)); ?>
                    </td>

                    <td align="left" width="45%">
                        <div class="actionbtns">
                            <?php
                            echo $this->Js->submit(__('SEARCH',true), array('update' => '#divUpdate', "class"=>"button",'label'=>false, 'div' => false, 'before' => $this->Js->get('#divUpdate')->effect('fadeOut'), 'success' => $this->Js->get('#divUpdate')->effect('fadeIn')));
                             ?>
                            <div class="buttonEnding"></div>
                    </div>
                    </td>
                    <td width="12%">
                        <?php echo __('User', true)." : ".$user_name;?>
                    </td>
                </tr>
            </table>
            <?php echo $this->Form->end();?>
        </div>
        </div>
        <!-- register Starts -->
        <div class="register">
            <div id="divUpdate">
                <?php echo $this->element('users/unit_list'); ?>
            </div>
        </div>        
    </div>
</div>